package com.allenkerr.service;

import com.allenkerr.model.Person;

import java.util.List;

/**
 * Created by 小柯(Allen Kerr) on 17.6.18 23:53.
 */
public interface PersonService {

    public List<Person> findAll();

    public Person findById(Integer id);

    public Person findByName(String name);

//    public List<Person> findByPage(Integer pageNum, Integer pageSize);

    public void saveOne(Person person);
}
